package com.ego.product.dao;

import com.ego.product.po.AttrGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ego.product.po.AttrGroupRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: ego
 * @description 属性分组持久层
 * @author KamTang
 * @date 2022-11-13 12:56:14
 */
public interface AttrGroupDao extends BaseMapper<AttrGroup> {

    /**
     * 关联删除
     *
     * @param relations 属性分组关系VO
     */
    void deleteRelations(@Param("relations") List<AttrGroupRelation> relations);
}
